package com.yuting.model;

import java.io.Serializable;

/**
 * 考题相关的信息
 * @author cyt
 * @date 2020/7/2
 */
public class Question implements Serializable {
    private static final long serialVersionUID = -8078387802967833295L;

    private int questionNum;

    public Question(int questionNum) {
        this.questionNum = questionNum;
    }

    @Override
    public String toString() {
        return "Question{" +
                "questionNum=" + questionNum +
                ", questionContent='" + questionContent + '\'' +
                ", correctAnswer='" + correctAnswer + '\'' +
                '}';
    }

    public int getQuestionNum() {
        return questionNum;
    }

    public void setQuestionNum(int questionNum) {
        this.questionNum = questionNum;
    }

    public String getQuestionContent() {
        return questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent;
    }

    public String getCorrectAnswer() {
        return correctAnswer;
    }

    public void setCorrectAnswer(String correctAnswer) {
        this.correctAnswer = correctAnswer;
    }

    private String questionContent;

    public Question(int questionNum, String questionContent, String correctAnswer) {
        this.questionNum = questionNum;
        this.questionContent = questionContent;
        this.correctAnswer = correctAnswer;
    }

    private String correctAnswer;

}
